Which SQL command to get all details about a table in Oracle?
Which SQL command to get all details about a table in Oracle?
548
17-Jul-2023
Updated on 18-Jul-2023
Aryan Kumar
18-Jul-2023To get all details about a table in Oracle, you can use the
DESCRIBEcommand. TheDESCRIBEcommand will return a list of all the columns in the table, as well as their data types, sizes, and other properties.For example, to get all details about the table
employees, you would use the following command:SQL
This would return a list of all the columns in the
employeestable, as well as their data types, sizes, and other properties.Here is an example of the output of the
DESCRIBEcommand:SQL
The
DESCRIBEcommand is a powerful tool that you can use to get information about tables in Oracle. By using theDESCRIBEcommand, you can learn about the structure of a table and the data that it contains.